<%@ page language="java" pageEncoding="UTF-8"
	isErrorPage="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%     //局部变量
out.write("我是jsp对象");
%>
<%!   //可以声明成员变量和方法
public void method01(){
	//out.write("我是jsp对象");
}
%>
</body>
</html>